var ref2 = {
    function6: function () {
        var test2 = main.function1();
        var test3 = main.type;
        return test2 + test3;
    },
    function7: function () {
        var test2 = main2.function1();
        var test3 = ref1.function5();
        return test2 + test3;
    }
}